﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nana.Int
{
  public static class IntExt
  {
    public static string Ki(this int i)
    {
      return (i / 1024.0).ToString("#,###,##0.00");
    }
    public static string Mi(this int i)
    {
      return (i / 1048576.0).ToString("#,##0.00");
    }
    public static string Gi(this int i)
    {
      return (i / 1073741824.0).ToString("0.00");
    }
  }
}
